package com.his.registration.service;

import com.his.registration.pojo.MedicalRecord;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service
 * @Author: ZhangYing
 * @Date: 2023/7/3 11:48
 * @Description:
 */
public interface MedicalRecordService {
    //动态插入病历
    public int insert(MedicalRecord medicalRecord);

    //拿着病历中的挂号id去表中得到id
    public int getIdByRegisterId(int registerId);

    //得到刚刚插入的id
    public int getInsertId();

    //动态修改病历内容
    public int update(MedicalRecord medicalRecord);
}
